Delphi code for opening and closing the Print Engine

Calls used
PEOpenEngine
PECanCloseEngine
PECloseEngine
Code
uses CRDelphi;

procedure OpenEngine;
begin
  {If an error occured during opening...}
  if not PEOpenEngine then
    {Do Error Handler};
end;

procedure CloseEngine;
begin
  {Check to see if Engine can be closed}
  if PECanCloseEngine then
    PECloseEngine;
end; 


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com